package com.zhixiang.xaec.service.system.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.system.FileDetailDao;
import com.zhixiang.xaec.entity.system.FileDetail;
import com.zhixiang.xaec.service.system.FileDetailService;


@Service
public class FileDetailServiceImpl extends BaseServiceImpl<FileDetail, Long> implements FileDetailService
{

    
    
    public void saveFileList(List<FileDetail> fileDetails)
    {
        
        for(FileDetail fileDetail : fileDetails){
             save(fileDetail);
        }
    }

    @Resource(type=FileDetailDao.class)
    public void setBaseDao(BaseDao<FileDetail, Long> dao)
    {
        setDao(dao);
    }
    
}
